package com.lcifn.spring.transaction.mapper;

import org.springframework.jdbc.core.JdbcTemplate;

import lombok.Data;

@Data
public class UserJdbcTemplateMapper {

	private JdbcTemplate jdbcTemplate;
	
	public int updateUser(){
		return jdbcTemplate.update("update user set age = 10 where id = 1");
	}
}
